/**
 * Copyright(c) 2014 Xunton Solutions
 *
 * History:
 *   15-9-29 下午12:19 Created by dwzhang
 */
package com.jade.bss.weixin.api.yaozb.protocol;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 设备与页面的绑定关系。
 *
 * @author <a href="mailto:dwzhang@xunton.com">dwzhang</a> 
 * @version 1.0 15-9-29 下午12:19
 */
public class RelationInfo
        implements Serializable
{
    //设备编号
    @JsonProperty ("device_id")
    private long deviceId;
    private String uuid;
    private int major;
    private int minor;
    @JsonProperty ("page_id")
    private long pageId;

    public long getDeviceId()
    {
        return deviceId;
    }

    public void setDeviceId(long deviceId)
    {
        this.deviceId = deviceId;
    }

    public String getUuid()
    {
        return uuid;
    }

    public void setUuid(String uuid)
    {
        this.uuid = uuid;
    }

    public int getMajor()
    {
        return major;
    }

    public void setMajor(int major)
    {
        this.major = major;
    }

    public int getMinor()
    {
        return minor;
    }

    public void setMinor(int minor)
    {
        this.minor = minor;
    }

    public long getPageId()
    {
        return pageId;
    }

    public void setPageId(long pageId)
    {
        this.pageId = pageId;
    }
}
